{"version":3,"file":"script.min.js","sources":["script.js"],"names":["window","BX","namespace","FTRList","params","this","id","form","mess","ii","length","bind","preorder","pageNumber","pageCount","addCustomEvent","delegate","add","pageNumberInput","elements","create","props","type","name","appendChild","value","pageCountInput","findChild","attr","input_pageno","remove","prototype","result","container","listform","post","className","msgNode","fTextToNode","message","attrs","children","fReplaceOrInsertNode","document","parentNode","navigation","navDIV","i","navPlaceholders","findChildren","insertBefore","tmpDiv","nextSibling","nodeType","bottomPager","innerHTML","firstChild","fRunScripts","node","author","getAttribute","buttons","tagName","func","res","proxy_context","act","func2","func3","adjust","events","click","bx-href","href","DoNothing","selection","GetSelection","replace","videoWMV","str","p1","rWmv","exec","rFlv","search","regexReplaceTableTag","s","tag","replacement","re_match","RegExp","re_replace","ij","browser","IsIE","onCustomEvent","text","confirm","link","tbl","findParent","note","replyActionDone","show","hide","ajax","loadJSON","AJAX_CALL","sessid","bitrix_sessid","status","curpage","top","location","fx","time","callback_complete","reviews","class","reload","bHidden","hasClass","label","tbldiv","toggleClass","setAttribute","style","addClass","FTRForm","d","editor","windowEvents","messageMax","onsuccess","onfailure","submit","isAjax","oCaptcha","Captcha","proxy","Show","ready","Update","quote","paste","transverse","e","validate","prepareForm","disableButtons","send","PreventDefault","state","arr","getElementsByTagName","disabled","SaveContent","errors","Message","GetContent","MessageLength","MessageMax","TITLE","alert","busy","submitAjax","method","url","action","dataType","get","clear","previewDIV","previewParent","previewNode","PostFormAjaxStatus","scrollToNode","CheckAndReInit","fAutosave","pEditorDocument","Init","fileDIV","fileINPUT","fileINPUT1","index","clone","removeChild","attachLink","attachNote","captchaIMAGE","captchaHIDDEN","captchaINPUT","captchaDIV","getCaptcha","src","attribute","setTimeout","Focus","defer","display","GetViewMode","SetBxTag","bbCode","actions","setExternalSelection","Exec","doc","GetIframeDoc","range","GetRange","mention","util","htmlspecialcharsback","spaceNode","html","InsertNode","parentMention","body","InsertAfter","SetAfter","textareaView","WrapWith","OnEditorInitedAfterEvents","Forum","event1","event","pop","removeCustomEvent","OnEditorInitedAfter","push","lheId","insertImageAfterUpload","posts","all","scrollWidth","offsetWidth","tmpdiv","childNodes","arNote","msgBox","statusDIV","beforeDivs","tmp","insert","SetReviewsAjaxPostTmp","forumAjaxPostTmp","sourceNode","targetNode","parentTargetNode","beforeTargetNode","nextNode","isDomNode","isArray","msg","ob","processHTML","processScripts","SCRIPT","ShowLastEditReason","checked","div","AttachFile","iNumber","iCount","sIndex","oObj","element","bFined","parseInt","getElementById","bHide","getSelection","toString","createRange"],"mappings":"CAAC,SAAUA,GACVC,GAAGC,UAAU,WACb,IAAIC,GAAU,SAAUC,GACvBC,KAAKC,GAAK,UAAYF,EAAOG,KAAKD,EAClCD,MAAKG,OACLH,MAAKE,KAAOH,EAAOG,IACnB,MAAMH,EAAO,MAAO,CACnB,IAAK,GAAIK,GAAK,EAAGA,EAAKL,EAAO,MAAMM,OAAQD,IAAM,CAChDJ,KAAKM,KAAKP,EAAO,MAAMK,KAGzBJ,KAAKD,QACJQ,SAAWR,EAAOQ,UAAY,IAC9BC,WAAYT,EAAOS,WACnBC,UAAWV,EAAOU,UAEnBb,IAAGc,eAAeV,KAAKE,KAAM,QAASN,GAAGe,SAASX,KAAKY,IAAKZ,MAC5DJ,IAAGc,eAAeV,KAAKE,KAAM,YAAaN,GAAGe,SAAS,WACrD,SAAWX,MAAKD,OAAOS,YAAc,YAAa,CACjD,GAAIK,GAAkBb,KAAKE,KAAKY,SAAS,aACzC,KAAKD,EAAiB,CACrBA,EAAkBjB,GAAGmB,OAAO,SAAUC,OAAQC,KAAM,SAAUC,KAAM,eACpElB,MAAKE,KAAKiB,YAAYN,GAEvBA,EAAgBO,MAAQpB,KAAKD,OAAOS,WAErC,SAAWR,MAAKD,OAAOU,WAAa,YAAa,CAChD,GAAIY,GAAiBzB,GAAG0B,UAAUtB,KAAKE,MAAOqB,MAAOL,KAAM,cAC3D,KAAKG,EAAgB,CACpBA,EAAiBzB,GAAGmB,OAAO,SAAUC,OAAQC,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